<template>
  <div>
    <el-container>
      <el-header >XXXXX后台管理系统</el-header>
      <el-container>
        <el-aside width="220px">
            <v-nav></v-nav>
        </el-aside>
        <el-main>
            <router-view></router-view>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script>
//引入局部组件
import vNav from '../components/vNav'
export default {
  data() {
    return {};
  },
  components:{
    vNav
  }
};
</script>

<style lang="less" scoped>
.el-header {
  background: pink;
}
</style>
